package no.doomsday.scripting.simplescriptengine.interfaces 
{
	
	/**
	 * ...
	 * @author Andreas Rønning (andreas@doomsday.no)
	 */
	public interface IScriptExecutor 
	{
		function mapCommand(invoker:String, callback:Function):void;
		function run(script:String):void;
		function resume():void;
		function loadAndRun(url:String):void;
		function tryCommand(invoker:String, args:Array):*;
		function switchBranch(branchname:String):void;
		
		function expose(obj:Object):void;
		function get lastReturnValue():*;
	}
	
}